package com.bestvike.portal.data;

public class TokenBean {

	private byte[] pData = new byte[0];
	private byte[] sData = new byte[0];

	public byte[] getPData() {
		return this.pData;
	}

	public void setPData(byte[] pData) {
		this.pData = pData;
	}

	public void setPData(String pData) {
		this.pData = pData.getBytes();
	}

	public String getPDataToString() {
		if (this.pData == null) {
			return "";
		}
		return new String(this.pData);
	}

	public byte[] getSData() {
		return this.sData;
	}

	public void setSData(byte[] sData) {
		this.sData = sData;
	}

	public void setSData(String sData) {
		this.sData = sData.getBytes();
	}

	public String getSDataToString() {
		if (this.sData == null) {
			return "";
		}
		return new String(this.sData);
	}
}
